/**
 * 用户信息
 */
import Router from "@/router";

// 用户是否登陆--暂无使用
const isLogin = () => {
  return uni.getStorageSync("sessionId");
};

const logout = () => {
  Router.push({
    path: "/pages/login/index",
  });
  uni.clearStorageSync();
};

export { isLogin, logout };
